package cn.codeforfun.util;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by P0061449 on 2017/2/7.
 */
@ConfigurationProperties(prefix = "wechat", ignoreUnknownFields = false)
@PropertySource("classpath:properties/wechat.properties")
@Component
public class PropUtils {
    private String appId;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
